package org.codeart.pay.remote;

import org.codeart.common.request.OrderRequest;
import org.codeart.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "service-order")
public interface ServiceOrderClient {

    @PostMapping("/order/pay")
    R<Void> pay(@RequestBody OrderRequest orderRequest);

}
